using LegoBotPrimaAbstractions;

namespace LegoBotPrima.Actions
{
    public class StepBackBotAction : StepBotAction
    {
        protected override void StartMoving(ILegoBotPrimaWorkflow workflow)
        {
            RequestedNextAction = new Rotate360BotAction{ AvoidAngle = Workflow.RotationAngle };
            Workflow.GoBackwardFast();
        }
        protected override int StopAfterTicks { get { return 6; } }
    }
}